import android.util.Log;

/**
 * Created by linkzhzhu on 2017/8/9.
 */

public class VideoCenter {

    public VideoCenter(){
        mVideoCenter = new VideoNative();
    }

    public int concat(String[] inPaths, String outPath, boolean needEncode){
        return mVideoCenter.concat(inPaths, outPath, needEncode);
    }

    public int fpsTransform(String input, String output, int fps,int startTime, int duration){
        if(input == null || output == null){
            Log.e(TAG,"Input/Output file path == null");
            return -1;
        }
        return mVideoCenter.fpsTransform(input, output, fps, startTime, duration);
    }

    public int speedTransform(String inPath, String outPath, float ratio){
        return mVideoCenter.speedTransform(inPath, outPath, ratio);
    }

    private VideoNative mVideoCenter;

    private static final String TAG = VideoCenter.class.getSimpleName();
}
